package com.hc.fdkforwarders.controller;

import com.hc.fdkforwarders.common.Result;
import com.hc.fdkforwarders.param.TagPrintedParam;
import com.hc.fdkforwarders.service.TagPrintedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TagPrintedController {

    @Autowired
    TagPrintedService service;

    @PostMapping("/modify/tag/print/status/to/printed")
    public Result tagPrinted(@RequestBody TagPrintedParam idList){
        service.tagPrinted(idList);
        return Result.ok();
    }
}
